SNMPD.CONF
Section: File Formats (5)
Updated: Januar 1995
Index
Return to Main Contents
NAME
snmpd.conf - configuration file for snmpd and snmp-utils
DESCRIPTION
/etc/snmpd.conf
is read by
snmpd(8)
and the related
snmpwalk(1), ...
utilities.
The file consists of lines containg a
<key>
followd by a
:
and a
<value>.
Lines beginning with a
#
and empty lines are ignored.
The recognized key, value pairs are as follows:
- party.conf
-
The supplied value is the path to the party.conf file; default is
/etc/party.conf.
- acl.conf
-
The supplied value is the path to the acl.conf file; default is
/etc/acl.conf.
- view.conf
-
The supplied value is the path to the view.conf file; default is
/etc/view.conf.
- context.conf
-
The supplied value is the path to the context.conf file; default is
/etc/context.conf.
- port
-
The port to open and listen to; default 161.
- private
-
The private communtiy string for V1 authentication; default is
private.
- system contact
-
Return string for a system.sysContact request; default is Unknown.
- system location
-
Return string for a system.sysLocation request; default is Unknown.
- system name
-
Return string for a system.sysName request; default is the hostname.
- interface
-
The value must have three fields: a string naming the interface, a
integer describing the type of the interface (ala RFC 1213) and a
integer describing the speed of the interface. Multiple entries are
possible. Look at the example below for a sample.
EXAMPLE
A sample /etc/snmpd.conf is:
## /etc/snmpd.conf:
##
## location of the config files:
##
party.conf: /etc/party.conf
acl.conf: /etc/acl.conf
view.conf: /etc/view.conf
context.conf: /etc/context.conf
##
## port to use (default is 161):
##
# port: 161
##
## private-community string (for SNMP V1):
## default is ``private''
##
# private: private
##
## the entry of system.Contact and system.Location:
##
system contact: Kaept'n B. Ertman (schoenfr@ibr.cs.tu-bs.de)
system location: At Home - on the Bridge
## system name is per default determined from the hostname:
# system name: chappell
##
## name, type and speed of interfaces:
##
interface: lo0 24 20000000
interface: eth0 6 10000000
interface: sl0 28 38400
interface: sl1 28 38400
interface: sl2 28 38400
interface: sl3 28 38400
interface: ppp0 23 38400
interface: ppp1 23 38400
interface: ppp2 23 38400
interface: ppp3 23 38400
## end of /etc/snmpd.conf
SEE ALSO
snmpd(8),snmpwalk(1)
AUTHOR
Added for the Linux port by Erik Schoenfelder
(schoenfr@ibr.cs.tu-bs.de), inspired by Juergen Schoenwaelder
(schoenw@ibr.cs.tu-bs.de).
Index
- NAME
-
- DESCRIPTION
-
- EXAMPLE
-
- SEE ALSO
-
- AUTHOR
-
This document was created by
man2html,
using the manual pages.
Time: 23:03:10 GMT, July 01, 2025